package com.sitech.portal.bigScreen.dao;

import com.sitech.ibnms.core.IPage;
import com.sitech.ibnms.core.PageForm;
import com.sitech.portal.bigScreen.domain.ScreenLogicalPanel;
import com.sitech.portal.bigScreen.domain.TbScreenLogical;
import com.sitech.portal.bigScreen.form.ScreenLogicalPanelForm;

import java.util.List;

/**
 * Created by Administrator on 2015/4/22.
 */
public interface ScreenLogicalDao {
    public void addScreenLogical(TbScreenLogical tbScreenLogical);

    public IPage queryScreenLogicalByFilter(TbScreenLogical tbScreenLogical,String physicalScreenId, PageForm pageForm);

    public void deleteScreenLogicalById(String id);

    public void updateScreenLogical(TbScreenLogical tbScreenLogical);

    public IPage queryScreenLogicalByPhysicalScreen(String physicalScreenId,PageForm pageForm);

    public TbScreenLogical queryLogicalScreenById(String id);

    public void relatedPanelToScreen(ScreenLogicalPanel screenLogicalPanel);

    public void unrelatedPanelToScreen(String  logicalScreenId);

    public List<ScreenLogicalPanelForm> queryScreenLogicalPanelByScreenId(String screenId);

    public boolean ifNameExist(TbScreenLogical tbScreenLogical);

    public List<TbScreenLogical> queryByPhysicalScreenId(String physicalScreenId);

    public List<String> queryPhysicalScreenByLogicalScreenId(String logicalScreenId);

}
